﻿@model DotNetDream.Models.BlogEntry
@{
    ViewBag.Title = "DotNetDream - Create Entry";
}
<h1>
    Create new entry</h1>
@using (Html.BeginForm())
{
    <div id="dnd-content-wrapper">
        <label class="dndFormLabel">
            Title</label>
        @Html.TextBoxFor(model => model.Title, new { @class = "dndFormInput", @style = "width:763px" })
        <div style="margin-bottom: 20px">
            @Html.TextAreaFor(model => model.Content)
        </div>
        <div id="dnd-command-bar">
            <input type="submit" name="command" value="Publish" class="dndSubmitButton" />
            <input type="submit" name="command" value="Back" class="dndSubmitButton" />
        </div>
    </div>
    <script src="@Url.Content("~/Content/CKEditor/ckeditor.js")"  type="text/javascript")></script>
    <script src="@Url.Content("~/Content/CKEditor/adapters/jquery.js")"  type="text/javascript")></script>
}
